package _interface.Exer3;

public class VehicleTest {
    public static void main(String[] args) {
        Developer developer = new Developer();
        Vehicle[] vehicles = new Vehicle[3];
        vehicles[0] = new Bicycle();
        vehicles[1] = new ElectricVehicle("xiaomi", "red");
        vehicles[2] = new Car("BWM", "black", "京A·00001");
        for (Vehicle v : vehicles) {
            developer.takingVehicle(v);
        }
    }
}
